class PlatformAPIException(Exception):
    def __init__(self, message):
        self.message = message

    def __str__(self):
        return '[APIError] \n%s' % (self.message)

class PlatformHighRateException(Exception):
    def __init__(self, message):
        self.message = message

    def __str__(self):
        return '[HighRateError] \n%s' % (self.message)

class PlatformNotSupportSymbolException(Exception):
    def __init__(self, message):
        self.message = message

    def __str__(self):
        return '[HighRateError] \n%s' % (self.message)

class PlatformRequestException(Exception):
    def __init__(self, message):
        self.message = message

    def __str__(self):
        return '[RequestException] \n%s' % self.message

class PlatformClientException(Exception):
    def __init__(self, message):
        self.message = message

    def __str__(self):
        return "[ClientException] \n%s" % (self.message)
